<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <style>
        .mydiv{
            width: 200px;
            height: 200px;
            background-color: #A8A8A8;
            color: #FEE115;
            margin: 0 auto;
            text-align: center;
        }
        .uname{
            width: 420px;
            height: 35px;
            border-radius: 5px;
            border: 2px dotted #FF62DD;
            background-color: azure;
        }
    </style>
</head>
<body>
    <h1>背景样式</h1>    
    <div class="mydiv">
        today is nice!
        <input type="text" style="background-color: #FF6700;">
    </div>
    <h1>边框样式</h1>
    用户名<input type="" class="uname">

</body>
</html>